const db = uniCloud.database()
exports.main = async (event, context) => {
	//event为客户端上传的参数
	let {id} = event;

	return await db.collection("share-img").doc(id).remove()
};